home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / linux / xfree86 / DOC / README.WstDig < prev    next >
Encoding:
Text File  |  1998-01-07  |  10.5 KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.          Information for Western Digital Chipset Users
  11.  
  12.                The XFree86 Project, Inc.
  13.  
  14.                   14 July 1995
  15.  
  16.  
  17.  
  18. 1.  Supported chipsets
  19.  
  20. XFree86 supports the following Western Digital SVGA chipsets: PVGA1, WD90C00,
  21. WD90C10, WD90C11, WD90C24, WD90C30, WD90C31, WD90C33.  Note that the rest of
  22. the WD90C2x series of LCD-controller chipsets are still not supported.    The
  23. WD90C24 family is now supported including acceleration, adjustable clocks and a
  24. full 1MB video ram even on dual scan systems (in CRT mode).  If you have trou-
  25. ble with the new WD90C24 support (not that we expect you will), try specifying
  26. "wd90c30" or "wd90c31" on the `Chipset' line in your XF86Config file.  The
  27. WD90C24, WD90C31 and WD90C33 are supported as an accelerated chipset in the
  28. SVGA server; the accelerated features are automatically activated when a
  29. WD90C24, WD90C31 or WD90C33 is detected, or specified in the XF86Config file.
  30.  
  31.  
  32. 2.  Special considerations
  33.  
  34. All of the Western Digital chipsets after the PVGA1 support the ability to use
  35. the memory-refresh clock as an alternate dot-clock for video timing.  Hence for
  36. all of these chipsets, the server will detect one more clocks than ``normal''.
  37. What this means is that if you have an old `Clocks' line in your XF86Config
  38. file, you should comment it out, and rerun the server with the `-probeonly'
  39. option to find all of the clock values.  All but the last should be the same as
  40. what you had before; the last will be new.
  41.  
  42. For the WD90C00 chipset, the chipset will only support 640x480 in 256-color
  43. mode.  Even though 512k of memory should allow better than 800x600, the chipset
  44. itself cannot do this.    This is stated in the databook (which lists 1024x768x16
  45. and 640x480x256 for specifications).  We have also witnessed this behavior.
  46.  
  47. The server will detect 17 clocks for the WD90C24, WD90C30 and WD90C31 chipsets.
  48. If you have one of these chipsets, you should let the server re-probe the
  49. clocks and update your XF86Config.
  50.  
  51. There is an `Option' flag available for the XF86Config file that is specific to
  52. the Western Digital chipsets (except the WD90C24).  This option is
  53. "swap_hibit".  We have determined via experimentation that the WD90C1x and
  54. WD90C3x chipsets need the high-order clock-select bit inverted, and the PVGA1
  55. and WD90C00 need it non-inverted.  This is hardcoded into the driver.  Since
  56. our sample-set was rather small, we have provided the "swap_hibit" option to
  57. invert this behavior.  If the clocks detected by the server show a very low
  58. last clock (under 28Mhz), then this option is likely needed.
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  Information for Western Digital Chipset Users
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  Information for Western Digital Chipset Users
  71.  
  72.  
  73.  
  74. 3.  WD90C24 features
  75.  
  76. These next three sections apply only if you have a WD90C24, WD90C24a, or
  77. WD90C24a2 and don't specify some other chipset in your XF86Config file.  The
  78. SVGA pvga1 driver now recognizes the wd90c24 family as different from the
  79. WD90C30 and seems to resolve most of the problems people encountered when these
  80. chips were treated as WD90C3X.    The new code has the following features:
  81.  
  82.    o Locks the shadow registers at appropriate times; This should prevent
  83.      scrambled displays after exiting X with dual scan screens when simultane-
  84.      ous or LCD display mode is selected.  The code does depend somewhat on the
  85.      behavior of the BIOS regarding when it locks the shadow registers, etc.
  86.  
  87.    o Allows (forces) the use of a full 1 Meg VRAM for dual scan systems when
  88.      the server is started while external CRT only display is in operation.
  89.      This allows 1024x768x8 resolution.
  90.  
  91.    o If the XF86Config file specifies a virtual screen size which requires more
  92.      than 512 K VRAM when the server is started on a Dual Scan LCD, the driver
  93.      will force the virtual size to 640x480.  This eliminates the need to edit
  94.      the XF86Config file when you switch from 1024x resolution on the CRT, to
  95.      or from the LCD screen.  If no virtual size is specified, the result will
  96.      be 800x600 virtual in LCD modes and 1024x768 in CRT only mode (so you have
  97.      a choice).
  98.  
  99.    o Note that on dual scan systems, you must still exit X, switch displays,
  100.      and restart X to change to/from CRT only with 1 Meg videoram.  This is
  101.      because once the server starts, you can't change the virtual screen size.
  102.      There is no way around this with the current server and the WD90C24 with
  103.      dual scan displays.  The WD90C24 requires half the videoram be used for a
  104.      ``Frame buffer'' when the dual scan LCD is in use.
  105.  
  106.    o The new server uses the accelerated features of the WD90C24a.  It is not
  107.      clear from the data book if the WD90C24 also supports ALL the required
  108.      features.    Several people have stated that the WD90C24 is not accelerated,
  109.      but the differences section of the WD90c24a data book implies that they
  110.      ARE all three accelerated.  The differences documented with regard to
  111.      acceleration are with the type of line drawing the hardware does; Only the
  112.      newer chips support the type of line drawing that MS windows wants.  This
  113.      may be what has caused the confusion since the accelerated windows drivers
  114.      may only support the WD90c24a chips.  If this turns out to be a problem
  115.      with the WD90C24, acceleration can be disabled by adding the line:
  116.  
  117.         Option "noaccel"
  118.  
  119.  
  120.  
  121.      to the Device section of the XF86Config file.
  122.  
  123.    o Although the new server does not support programmable clocks in the same
  124.      way as some of the other servers, 8 of the 17 clocks may be set to
  125.      (almost) any value via the Clocks line. It also supports options for
  126.      adjusting the VRAM clock.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  Information for Western Digital Chipset Users
  137.  
  138.  
  139.  
  140. 4.  WD90C24 clocks
  141.  
  142. Here are some more details on the adjustable clocks:
  143.  
  144. The VRAM clock (Mclk) is adjusted by adding ONE of the following option lines
  145. to the Device section of the XF86Config:
  146.  
  147.     Option        "slow_dram"     # Set Mclk to 47.429 MHz
  148.     Option        "med_dram"        # Set Mclk to 49.219 MHz
  149.     Option        "fast_dram"     # Set Mclk to 55.035 MHz
  150.  
  151.  
  152. The default is to leave Mclk as the BIOS sets it.  This is 44.297 on many sys-
  153. tems.  Some systems may not work properly with any of these options.  If you
  154. experience ``bit errors'' on your display, reduce the Mclk speed, or don't use
  155. any of these options.  The Mclk is not reset on server exit.
  156.  
  157. The data book says that the maximum pixel clock is 1.6 times Mclk so you may
  158. want to experiment with higher Mclk rates if you have a fast monitor.  It also
  159. says a 44.297MHz Mclk and 65MHz pixel clock is the fastest the WD90C24A2 is
  160. designed to go.  However, some success has been reported with faster clocks.
  161. Don't expect all the clocks the chip can provide to work properly.
  162.  
  163. The second and fourth group of 4 clocks are adjustable.  That is, clocks 5, 6,
  164. 7, 8 and 13, 14, 15, 16 (counting from 1).  These clocks are set by the Clocks
  165. line.  Be sure to adjust the 17th (last) clock to match your Mclk.  Here is a
  166. sample set of clocks lines with some clocks defined which are not directly pro-
  167. vided by the chip.  The NON-programmable clocks (1-4 and 9-12) MUST be set as
  168. indicated here.
  169.  
  170.     Clocks       25.175 28.322 65    36     # These are *not* programmable
  171.  
  172.     Clocks       29.979 77.408 62.195 59.957 # these are programmable
  173.     Clocks       31.5   35.501 75.166 50.114 # these are *not* programmable
  174.     Clocks       39.822 72.038 44.744 80.092 # these are programmable
  175.     Clocks       44.297               # Change this if you change
  176.                            #   Mclk above.
  177.  
  178. You can program the clocks in increments of .447443 MHz.  The server will warn
  179. you and adjust to the nearest increment if you specify a clock which does not
  180. fit this formula.  Clocks 1-4 and 9-12 (the fixed clocks) are not constrained
  181. to this multiple, but instead are used to provide standard clocks which are not
  182. a multiple by .447443 MHz.
  183.  
  184. If you probe for clocks (for example to find your Mclk), do it in CRT only mode
  185. and then add clocks lines in your XF86Config file.  Clocks will not probe cor-
  186. rectly in LCD mode on most systems.
  187.  
  188. The BIOS on some systems may not allow switching from CRT to LCD unless the
  189. correct clock and/or mode is used.  Try the following mode line for 640x480 LCD
  190. displays.
  191.  
  192.     ModeLine "640x480"  25.175   640 664 760 800     480 491 493 525 #CRT/LCD
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  Information for Western Digital Chipset Users
  203.  
  204.  
  205.  
  206. The following modelines have been tested with the above Clocks lines on some
  207. systems, and are provided here as examples. Some testers have experienced minor
  208. problems (snow) with the fixed 65 and 75.166 MHz dot clocks.  The modelines
  209. below have been reported to circumvent these problems.    Do not assume your mon-
  210. itor will not be damaged by any of these.
  211.  
  212.       # VESA 800x600@72Hz Non-Interlaced mode
  213.     ModeLine  "800x600.50"    50  800  856  976 1040 600 637 643 666    +hsync +vsync
  214.  
  215.  
  216.       # 1024x768  Interlaced mode
  217.     ModeLine  "1024x768i"    45  1024 1048 1208 1264 768 776 784 817 +hsync +vsync Interlace
  218.  
  219.       # 1024x768@60Hz Non-interlaced Mode
  220.       # One of the dram options may be necessary
  221.     ModeLine  "1024x768.65" 65  1024 1032 1176 1344 768 771 777 806 -hsync -vsync
  222.  
  223.  
  224.       # 1024x768@60Hz Non-Interlaced mode (non-standard dot-clock)
  225.       # Seems to work without dram options
  226.     ModeLine  "1024x768.62" 62  1024 1064 1240 1280 768 774 776 808
  227.  
  228.       # 1024x768@70Hz Non-Interlaced mode (non-standard dot-clock)
  229.       # May need fast_dram option
  230.     ModeLine  "1024x768.72" 72  1024 1056 1192 1280 768 770 776 806 -hsync -vsync
  231.  
  232.  
  233. 5.  Additional WD90C24 information
  234.  
  235. Standard disclaimers apply.  Use this driver at your own risk.    If you need
  236. additional information on using XFree86 with the WD90C24 family however, you
  237. might try Darin Ernst's home page <URL:http://www.castle.net/~darin>.  Darin
  238. maintains a mini-HOWTO on ``X and the WD90C24''. He was the first tester of the
  239. WD90C24 code and provided many good ideas and encouragement.  You can reach
  240. Darin at darin@castle.net or dernst@pppl.gov.  I only provided the WD90C24 spe-
  241. cific code.  You can reach me (Brad Bosch) at brad@Lachman.com.
  242.  
  243.      Generated from XFree86: xc/programs/Xserver/hw/xfree86/doc/sgml/WstDig.sgml,v 3.6 1997/01/24 09:32:38 dawes Exp $
  244.  
  245.  
  246.  
  247.  
  248.  
  249.      $XConsortium: WstDig.sgml /main/5 1996/02/21 17:46:29 kaleb $
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  Information for Western Digital Chipset Users
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.                    CONTENTS
  339.  
  340.  
  341.  
  342. 1. Supported chipsets  ...................................................... 1
  343.  
  344. 2. Special considerations  .................................................. 1
  345.  
  346. 3. WD90C24 features  ........................................................ 2
  347.  
  348. 4. WD90C24 clocks  .......................................................... 3
  349.  
  350. 5. Additional WD90C24 information  .......................................... 4
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.                        i
  395.  
  396.  
  397.